package com.sheep.mbg.mapper;

import com.sheep.mbg.model.RbacAdmin;
import com.sheep.mbg.model.RbacAdminExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RbacAdminMapper {
    long countByExample(RbacAdminExample example);

    int deleteByExample(RbacAdminExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RbacAdmin record);

    int insertSelective(RbacAdmin record);

    List<RbacAdmin> selectByExample(RbacAdminExample example);

    RbacAdmin selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RbacAdmin record, @Param("example") RbacAdminExample example);

    int updateByExample(@Param("record") RbacAdmin record, @Param("example") RbacAdminExample example);

    int updateByPrimaryKeySelective(RbacAdmin record);

    int updateByPrimaryKey(RbacAdmin record);
}